How to get hidden field value using JavaScript
FacebookTwitterLinkedInHere are the two ways to get a hidden filed value using JavaScript: document.getElementById(‘Id of the hidden field).value document.formName.elements[‘name of the hidden field].value You can use the way you prefer; both will return the same value. And here is an example: JavaScript: <script type=”text/javascript”> function GetHiddenFieldValue(){ var HiddenFiledID; var HiddenFiledName; HiddenFiledID = document.getElementById(hfID).value; HiddenFiledName = … Continue reading How to get hidden field value using JavaScript
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed